﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 健康码管理系统
{
    public partial class Selection : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void searchText_TextChanged(object sender, EventArgs e)
        {
            string sql = "SELECT *  FROM UserInfo INNER JOIN Codetype ON UserInfo.CId = Codetype.CId" +
                $"where Name like '%{txtSelect.Text}%'";
            SqlDataSource2.SelectCommand=sql;
        }

        protected void txtAdd_Click(object sender, EventArgs e)
        {

        }
    }
}